package com.tang.mapper;

import com.tang.entity.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author TangBowen
 * @create 2021/6/7 13:01
 */
public interface UserMapper {
    /*
    登陆方法
     */
    @Select("Select * from user where username = #{username} and password = #{password}")
    List<User> login(User user);


}
